import MyStorage from "./MyStorage";

/**
 * 
 * nick name
 * 
 * 
 */
const nickNameStorage = new MyStorage('nickName');

export const nickNameGet = () => nickNameStorage.get();

export const nickNameSet = val => nickNameStorage.set(val);

/**
 * 
 * avatar
 * 
 * 
 */
const avatarStorage = new MyStorage('avatar');

export const avatarGet = () => avatarStorage.get();

export const avatarSet = val => avatarStorage.set(val);
